public class Book {
    static int money = 1000;
    public void station(int num) {
        Book.money -= num;
        System.out.println("AliPay取出" + num + "元，还剩：" + Book.money + "元");
    }

    public void atm(int num) {
        Book.money -= num;
        System.out.println("ATM取出" + num + "元，还剩：" + Book.money + "元");
    }
}
